<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2018/4/16
 * Time: 0:40
 */
 //作用：将当前的类名转换成css中的类名
 function route_class()
 {
     return str_replace('.', '-', Route::currentRouteName());
 }
